<template>
  <ul>
    <li>消息编号：{{ id }}</li>
    <li>消息标题：{{ title }}</li>
  </ul>
</template>

<script>
export default {
  name: "Detail",
  // 使用props接收路在index.js中传递的props参数
  props: ["id", "title"],
};
</script>
